package com.chaos.system.data;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@ApiModel(value="RbacRoleMenuBtnData", description="角色菜单按钮关联表")
public class RbacRoleMenuBtnData extends DATA{


    @ApiModelProperty(value = "角色id")
    private Long roleId;


    @ApiModelProperty(value = "菜单或按钮id")
    private Long menuOrBtnId;


    @ApiModelProperty(value = "关联类型 1 菜单 2 按钮")
    private Integer correlationType;


}
